<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><s:text name="logtitle1"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">

function selectAll()
{
   var sel=document.getElementsByName("sellog");
   for( var i=0;i<sel.length;i++)
 	{
  	sel[i].checked=true;
 	}
}

function selectNone()
{
  var sel=document.getElementsByName("sellog");
   for( var i=0;i<sel.length;i++)
 	{
  	sel[i].checked=false;
 	}
}

</script>
</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<body class="m_6">
<div id="main">
	<div class="zdsz" id="select1">
		<div class="tab"><a href="ctx/../log!index.action"><h3 class="sel">日志管理</h3></a><a href="ctx/../log!summary.action"><h3 >日志概况</h3></a></div>
		<div class="zd_gut">
		<ul class="block">
		<li>
		<form action="log!deletesysLog.action" method="post" name="form1" >
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_m">
		  <input type="hidden" name="codeno" value="${codeno}"/>
		  <input type="hidden" name="sstart" value="${startTime}"/>
		  <input type="hidden" name="send" value="${endTime}"/>
		  <input type="hidden" name="logIp" value="${logIp}"/>
		  <input type="hidden" name="searchType" value="${searchType}"/>
			  <tr>
				<td colspan="6" class="bg1 left"><span class="font14">最多300条记录</span></td>
			  </tr>
			   <tr>
				<td colspan="6" class="bg1 left"><a onclick="selectAll();">全选</a>　　　<a onclick="selectNone();">反选</a></span></td>
			  </tr>
			  <tr>
			    <td class="bg2"></td>
				<td class="bg2">用户</td>
				<td class="bg2">时间</td>
				<td class="bg2">IP地址</td>
				<td class="bg2">登录类型</td>
				<td class="bg2">备注</td>
			  </tr>
			   <s:iterator value="fpi.data" status="logs" id="log">
  			  <tr>
  			  <td><input type="checkbox" name="sellog" value="<s:property value="fpi.data[#logs.index][5]"/>"/></td>
   			  <td><s:property value="fpi.data[#logs.index][0]"/></td>
   			   <td><s:property value="fpi.data[#logs.index][1]"/></td>
  		       <td><s:property value="fpi.data[#logs.index][2]"/></td>
 		       <td><s:property value="fpi.data[#logs.index][3]"/></td>
    		   <td><s:property value="fpi.data[#logs.index][4]"/></td>
   			 </tr>
			</s:iterator>
			<tr>
			<td colspan="6" class="bg1 center">
                  <input type="submit"  value="删　除" class="log_f zc_b" >
				  <input  type="reset" value="返　回" class="log_f zc_b" onclick="javascript:history.go(-1);"/>
            </td>
		 </tr>
		</table>
		</form>
		</li>
		</ul>
		</div>
	</div>
</div>
</body>
</html>